package com.drug.mingkang.controller;

import com.drug.mingkang.model.HqOutbound;
import com.drug.mingkang.service.HqOutboundService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * 入库明细(HqOutbound)表控制层
 *
 * @author wenchangjian
 * @since 2020-08-11 12:00:13
 */
@RestController
@RequestMapping("hqOutbound")
public class HqOutboundController {
    /**
     * 服务对象
     */
    @Resource
    private HqOutboundService hqOutboundService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public HqOutbound selectOne(String id) {
        return this.hqOutboundService.queryById(id);
    }

}